package com.qidian.mes.produce.mapper;

import com.qidian.mes.pojo.Craft;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CraftMapper {
    List<Craft> queryList(Craft craft);

    int addCraft(Craft craft);

    int updateStatus(int craftRelId);

    Craft getByRelId(int craftRelId);

    int updateCraftAll(@Param("craft") Craft craft);
}
